package lab02.test04;


public class Test01 {
    public static void main(String[] args) {
        Staff staff = new Staff(3000, 250);
        staff.name = "张三";
        staff.num = 123456;

        System.out.println(staff.toString());
        System.out.println("工资增额为：" + staff.upSalary());
        System.out.println("总工资为：" + staff.salary());

    }
}
